<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Author: Reality Software
Website: http://www.realitysoftware.ca
Note: This is a free template released under the Creative Commons Attribution 3.0 license, 
which means you can use it in any way you want provided you keep the link to the author intact.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html" />
<title>Alumini Idea</title>
<link href="protected/Layouts/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<com:TForm>
<div id="container">
	<!-- header -->
    <div id="header">
    	<div id="logo"><a href="./index.php">Alumini Idea</a></div>
        <div id="menu">
        	<ul>
                <li><a href="./index.php">Home</a></li>
                <com:TControl Visible="<%= !($this->User->IsGuest) %>">
                    <li> <com:TLinkButton Text="Logout" SkinID="MainMenu"
	                        OnClick="logoutButtonClicked"
	                        Visible="<%= !$this->User->IsGuest %>" /></li>
                </com:TControl>
                <com:TControl Visible="<%= ($this->User->IsGuest) %>">
                    <li><a href="./index.php?page=Login">Login</a></li>
                </com:TControl>
                <li><a href="./index.php?page=Congressos.Home">Congressos</a></li>
                <com:TControl Visible="<%= ($this->User->IsGuest) %>">
                    <li><a href="./index.php?page=Usuarios.Cadastrar">Cadastre-se</a></li>
                </com:TControl>
                <com:TControl Visible="<%= !($this->User->IsGuest) %>">
                    <li><a href="./index.php?page=Artigos.Home">Artigos</a></li>
                    <li><a href="./index.php?page=Usuarios.Home">Usu&aacute;rios</a></li>
                    <li><a href="./index.php?page=Anais.Home">Anais</a></li>
                </com:TControl>
                <com:TControl Visible="<%= ($this->User->IsAvaliador) | ($this->User->IsCP) | ($this->User->IsAdmin) %>">
                    <li><a href="./index.php?page=Avaliacao.Home">Avalia&ccedil;&otilde;es</a></li>
                </com:TControl>
                <com:TControl Visible="<%= ($this->User->IsCP) | ($this->User->IsAdmin) %>">
                    <li><a href="./index.php?page=Instituicoes.Home">Institui&ccedil;&otilde;es</a></li>
                </com:TControl>
				<com:TControl Visible="<%= ($this->User->IsCP) | ($this->User->IsAdmin) %>">
                    <li><a href="./index.php?page=Mensagens.Enviar">Mensagens</a></li>
                </com:TControl>
            </ul>
        </div>
    </div>
    <!--end header -->
    <!-- main -->
    <com:TContentPlaceHolder ID="MenuLeft" />
    <div id="conteudo">
           <p><com:TContentPlaceHolder ID="Body" /></p>
    </div>
    <!-- end main -->
    <!-- footer -->
    <div id="footer">
        <div id="left_footer">Copyright 2008 Red City
        </div>
        <div id="right_footer">
        Design by <a href="http://www.realitysoftware.ca" title="Website Design">Reality Software</a>
        </div>
    </div>
    <!-- end footer -->
</div>
</com:TForm>
</body>
</html>
